package cn.itrip.trade.service;

import cn.itrip.beans.dto.Dto;
import cn.itrip.beans.pojo.ItripHotelOrder;
import cn.itrip.beans.pojo.ItripHotelTempStore;

public interface OrderService {
    /**
     * 根据订单号查询订单信息
     * @param orderNo
     * @return
     * @throws Exception
     */
    public ItripHotelOrder loadItripHotelOrder(String orderNo)throws Exception;

    /**
     * 订单支付成功
     * @param orderNo
     * @param payTepe
     * @param tradeNo
     */
    public void paySuccess(String orderNo,int payTepe,String tradeNo,long hotelId);

    /**
     * 订单支付失败
     * @param orderNo
     * @param payTepe
     * @param tradeNo
     */
    public void payFailed(String orderNo,int payTepe,String tradeNo,long hotelId);


}
